我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

too long

i have two table. first table name is A, second table name is B. then compare the two table with input data. input data bring data from 'A' table then check with 'B' table with the data then show the data when the data not in 'B' table.

You need to combine both tables using LEFT JOIN

SELECT  a.*
FROM    tableA a 
        LEFT JOIN tableB b
            ON a.colName = b.colName
WHERE   b.colName IS NULL

colname is the column that defines the relationship between the two tables.

近期文章

  • too long
  • too long
  • too long
  • Paypal的ipn_email来自哪里?
  • too long
  • 通过php迭代json对象返回(echo)将数据附加到网页
  • PHP添加斜杠以形成提交的文件路径
  • too long
  • 使用PHP获取三维数组中的最高子值
  • too long
  • 如何将变量作为键?
  • android8.1原生Settings里面的二级菜单选项怎么去掉或隐藏?
  • 学习数据结构二叉树的一个问题
  • 急急急!!!跪求:SQL Server 判断密码修改触发器代码怎么写?
  • Linux系统usb设备白名单
  • 没有主键的表,jpa给了一个@id注解会不会报错?
  • java实现office文件转pdf,其中无格式excel转pdf怎么显示网格?
  • webservice本地没有问题 打成War包部署到服务器 访问不到 tomcat报异常
  • 我如何合并这些数组?
  • too long

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华