标签: mysql database data-manipulation
如何查询自定义变量? 示例:
SELECT *, MID(dateandtime, 12, 2) as 'xxx' FROM xyz WHERE year = '18-19' AND xxx > 18
是否可以像示例的最后一行一样在查询中使用xxx?