hello folks!
Please let me know how to do that
'Compare two tables and find only matching data and then display the result in sql server.'
:)
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Ramesh MaruthiRank #937 · 2.2K reputationPosted Jul 13, 2014, 9:10 PM EDT
Please use the Intersect Keyword like this between the two tables for an example i want to display the order id from two tables
this query gives the common order id's which ar exists in two tables
Abhishek JaiswalRank #126 · 17.5K reputationPosted Jul 14, 2014, 10:03 PM EDT
and how to count the number of rows in that table output table?
Khan Abrar AhmedRank #778 · 3K reputationPosted Jul 14, 2014, 11:23 PM EDT
Select count(*)
from (
Abhishek JaiswalRank #126 · 17.5K reputationPosted Jul 15, 2014, 12:29 AM EDT
thank u Ramesh, abrar for ur kind seggestions!
:)