Home  >  Article  >  Database  >  mysql查询数据,比较数据大小

mysql查询数据,比较数据大小

WBOY
WBOYOriginal
2016-06-06 09:45:281813browse

mysql

我现在碰到的问题: 在一个列的信息中查处2013年6月8日前的信息(该列值是一个varchar2类型,而且值中的第2位为年,第3位为月,第4位为日信息).而2013使用N表示(2000年开始用字母A,B.C...表示),月份超过10的用字母A,B。。。表示,日期超过10的也用A,B。。。表示 我要怎么使用MYSQL语句直接查出数据呢(是mysql,不是oracle),数据可能有一百多万笔。。。
如:NN68KKKKKKKK这个值表示是2013年6月8号生产的信息

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn