simple select

Sql code posted by Şahap Aşçı
created at 09 Apr 12:09, updated at 09 Apr 12:16

Edit | Back
1
2
3
4
5
6
7
8
9
10
11
12
13
SELECT
    allias_name.field_name
  FROM table_name allias_name
  INNER JOIN other_table_name other_allias_name ON other_allias_name.field_name2 = allias_name.field_name
  WHERE 
 allias_name.field_name <> 2 

;  
--Line comment: allias_name and other_allias_name should be in different color than table names 

/*
This is a multiline comment which does not say anything. 
*/
387 Bytes in 2 ms with coderay