mysql> show create table Ac;
+-------+-------------------------------------------------------------------------------------------------------------------------+
| Table | Create Table |
+-------+-------------------------------------------------------------------------------------------------------------------------+
| Ac | CREATE TABLE `Ac` (
`a` varchar(20) DEFAULT NULL,
`c` varchar(20) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 |
+-------+-------------------------------------------------------------------------------------------------------------------------+
1 row in set (0.00 sec)
mysql>
mysql> insert into Ac values (‘1q‘,‘1q‘);
Query OK, 1 row affected (0.00 sec)
mysql> insert into Ac values (‘1Q‘,‘1Q‘);
Query OK, 1 row affected (0.00 sec)
mysql> select * from Ac WHERE a=‘1q‘;
+------+------+
| a | c |
+------+------+
| 1q | 1q |
| 1Q | 1Q |
+------+------+
2 rows in set (0.00 sec)
mysql> select * from AC ;
ERROR 1146 (42S02): Table ‘test.AC‘ doesn‘t exist
mysql> select * from Ac where A=‘1Q‘;
+------+------+
| a | c |
+------+------+
| 1q | 1q |
| 1Q | 1Q |
+------+------+
2 rows in set (0.00 sec)