Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

sql inner join

SELECT   field1, CASE field2
         WHEN condition1 THEN 'result1'
         WHEN condition2 THEN 'result2'
         ELSE 'result'
      END, field3
FROM table_name;
Source by www.postgresqltutorial.com #
 
PREVIOUS NEXT
Tagged: #sql #join
ADD COMMENT
Topic
Name
4+6 =