原文:mysql一张表多个字段关联另一张表查询

如下:一张订单表多个字段关联用户表: .链表查询 SELECT cu.id AS id ,cu.version AS version ,cu.cid AS cid ,cu.uid AS uid ,cu.shopName AS shopName ,cu.address AS address , cu.totalPrice AS totalPrice ,cu.orderType AS orderTyp ...

2018-11-22 09:10 0 4598 推荐指数:

查看详情

MySQL查询一张有多少个字段

SQL如下 select count(*) from information_schema.COLUMNS where TABLE_SCHEMA='数据库名' and table_name='名'    ...

Thu Jun 06 18:35:00 CST 2019 0 2545
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM