Search
 
SCRIPT & CODE EXAMPLE
 

SQL

joint query

SELECT table1.column1,table1.column2,table2.column1,....
FROM table1 
LEFT JOIN table2
ON table1.matching_column = table2.matching_column;


table1: First table.
table2: Second table
matching_column: Column common to both the tables.
Comment

joint query

SELECT StudentCourse.COURSE_ID, Student.NAME, Student.AGE FROM Student
INNER JOIN StudentCourse
ON Student.ROLL_NO = StudentCourse.ROLL_NO;
Comment

PREVIOUS NEXT
Code Example
Sql :: select columns from 2 tables with foreign key 
Sql :: sql date before 
Sql :: drop specific row postgresql 
Sql :: stored function in sql 
Sql :: postgres backup of table 
Sql :: sql reverse 
Sql :: how to find 2nd highest salary in mysql 
Sql :: SQL UNIQUE Constraint 
Sql :: sql comment 
Sql :: sql remove duplicates based on column 
Sql :: equi join in sql 
Sql :: google sheets data validation custom formula filter 
Sql :: TSQL convert csv to table 
Sql :: ubuntu mysql install and configure 
Sql :: mysql insert multiple rows based on select 
Sql :: mysql create trigger 
Sql :: sql server in python 
Sql :: sql limit 
Sql :: insert overwrite table in mysql in nifi 
Sql :: SQL Comments With Statements 
Sql :: oracle privileges 
Sql :: sql truncate table referencing itself 
Sql :: hive hbase create external table 
Sql :: Priviledges on table from other schema 
Sql :: suse stop MySQL 
Sql :: convert db timestamp to date 
Sql :: the most common use php method 
Sql :: pl sql join 3 tables 
Sql :: sql get highest date from 3 tabels 
Sql :: sql examples from your work 
ADD CONTENT
Topic
Content
Source link
Name
8+1 =