随笔分类 - SQL
摘要:这有两个语句,可是这两个语句的结果相同,但其他方面有什么区别呢?1.select count(ts.tid),ts.tid from t_s ts ,(select tid from teacher where age12 group by sid)group by ts.tid;2.select ...
阅读全文
摘要:droptableifexistsarticles;createtablearticles(idintauto_incrementprimarykey,titlevarchar(50),postuservarchar(10),postdatedatetime,parentidintreference...
阅读全文
摘要:DROP TABLE IF EXISTS `emp`;CREATE TABLE `emp` ( `id` int(11) NOT NULL AUTO_INCREMENT, `number` int(11) DEFAULT NULL, `name` varchar(255) DEFAULT NU...
阅读全文

浙公网安备 33010602011771号