Login   Register  
PHP Classes
elePHPant
Icontem

File: samples/union.sql

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Tom Schaefer  >  SQL Parse and Compile  >  samples/union.sql  >  Download  
File: samples/union.sql
Role: Auxiliary data
Content type: text/plain
Description: Example Union SQL
Class: SQL Parse and Compile
Parse and compose SQL queries programatically
Author: By
Last change:
Date: 5 years ago
Size: 172 bytes
 

Contents

Class file image Download
SELECT field1_index, field2_index
    FROM test_table WHERE field1_index = '1'
UNION
SELECT field1_index, field2_index
    FROM test_table WHERE field2_index = '1';