Advertisement
PieInlaw

Untitled

May 15th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MySQL 0.32 KB | None | 0 0
  1. CREATE OR REPLACE VIEW view_8 AS
  2.  
  3.  
  4.     SELECT  g.*
  5.  
  6.     FROM    goods g, collection cl
  7.  
  8.     WHERE   g.g_collection = cl.cl_name   AND
  9.  
  10.             cl.cl_name     = 'Весна-лето' OR
  11.  
  12.             cl.cl_name     = 'Лето-осень' OR
  13.  
  14.             cl.cl_name     = 'Осень-зима' OR
  15.  
  16.             cl.cl_name     = 'Зима-весна'
  17.  
  18. ;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement