Skip to content

Commit

Permalink
Merge pull request #265 from nikhilkalburgi/nikhilkalburgi-patch-3
Browse files Browse the repository at this point in the history
Update SQL_CheatSheet.md
  • Loading branch information
Jahenr authored Mar 24, 2024
2 parents 81ae451 + 38ac857 commit c4afbde
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions SQL_CheatSheet.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ MariaDB:

#Return the intersection of two queries
SELECT c1,c2 FROM t1 INTERSECT SELECT c1,c2 FROM t2;
#Return the UNION of two queries
SELECT c1,c2 FROM t1 UNION SELECT c1,c2 FROM t2;

#Drop a table
DROP TABLE [IF EXISTS] table_name;
Expand Down

0 comments on commit c4afbde

Please sign in to comment.