查询以找出通用数据 [英] Query to find out a common data

查看:111
本文介绍了查询以找出通用数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

查找包含在2个不同表中的公用数据的查询是什么?

What is the Query to find out a common data existing in 2 different tables?

推荐答案

您可以使用 UNION/UNION ALL 在SQL查询中找出常见数据.

Link1 [ ^ ]

Link2以获得基本理解 [
You can use UNION/UNION ALL in SQL query to find out common data.

Link1[^]

Link2 for basic understanding[^]

Hope it helps.


[
This[^] might help you.


使用内部联接这两个表之间....内部联接返回公共数据...
谢谢
Use inner join between those two tables....Inner join return common data...
Thanks


这篇关于查询以找出通用数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆