Guest User

Untitled

a guest
May 11th, 2012
18
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MySQL 0.67 KB | None | 0 0
  1. SELECT m.`Model Year`, d.`Division Name` , m.`Model Name` , m.`Model ID`, m.`Model Comment`, m.`Effective Date`, s.`Style ID`, s.`Style Name`, s.`True Base Price`, s.`Invoice`, s.`MSRP`, s.`Destination`, s.`Passenger Capacity`, s.`Passenger Doors`, s.`Manual Trans`, s.`Auto Trans`, s.`CFDriveTrain`, s.`CFBodyType`
  2. FROM Styles s, Models m
  3.  
  4.   JOIN TechSpecs.`Text` ON (TechSpecs.`Style ID` = s.`Style ID` AND TechSpecs.`Title ID` = 7)
  5.   JOIN TechSpecs.`Text` ON (TechSpecs.`Style ID` = s.`Style ID` AND TechSpecs.`Title ID` = 256)
  6.   /** ==> #1066 - Not unique table/alias: 'Text' */
  7.  
  8. WHERE m.`Model ID` = s.`Model ID`
  9. AND m.`Division ID` = d.`Division ID`
  10. AND s.`Sequence` =0
Advertisement
Add Comment
Please, Sign In to add comment