|
| |
名片设计 CorelDRAW Illustrator AuotoCAD Painter 其他软件 Photoshop Fireworks Flash |
|
查询在一个相关的表中不存在的数据,如用户表(user)和用户资料表(user_profile),通过id关联,要查出user表中在user_profile中不存在的记录: select count(*) from?user left join?user_profile On user.id=user_profile.id where user_profile.id is null 复杂条件: select count(*) from?user left join?user_profile On user.id=user_profile.id where user.level>1 or user_profile.money>10000 返回类别: 教程 上一教程: 使用正规表达式编写更好的SQL 下一教程: 一个MYSQL样例数据库 您可以阅读与"MYSQL中左连接的使用"相关的教程: · MySQL 内部函数的使用 · 最简朴MYSQL的使用方式 · SQL SERVER下数据库链接的使用方式 · 使用DELPHI6的DBEXPRESS组件连接远程的MYSQL数据库 · 两个未公开的ACCESS方式的使用技巧 |
| 快精灵印艺坊 版权所有 |
首页 |
||