MySQL
User 'leopompevcmvc' has exceeded the 'max_questions' resource (current value: 64000)

Query

			select
				c.table_name as tableName,
				c.column_name as name,
				c.column_type as type,
				c.ordinal_position as position,
				c.column_default as `default`,
				c.collation_name as collation,
				c.column_comment as `comment`,
				c.column_key as `key`,
				if(c.is_nullable = 'NO', 0, 1) as `null`,
				if(c.extra = 'auto_increment', 1, 0) as `AI`,
				ifNull(_c.title, '') as title,
				ifNull(_c.phpClass, '') as phpClass,
				ifNull(_c.phpData, '') as phpData,
				ifNull(_c.adminCanSelect, 1) as adminCanSelect,
				ifNull(_c.adminCanInsert, 1) as adminCanInsert,
				ifNull(_c.adminCanUpdate, 1) as adminCanUpdate,
				ifNull(_c.adminCanSearch, 1) as adminCanSearch
			from information_schema.columns c
			left join `leopompevcmvc`.`column` _c on _c.tableName = substr(c.table_name, 1) && _c.columnName = c.column_name
			where
				c.table_schema = 'leopompevcmvc' &&
				c.table_name like '%' &&
				c.table_name = 'product'
			order by position