Re: Untitled

From Coral Panda, 4 Months ago, written in Plain Text, viewed 68 times. This paste is a reply to Untitled from Alex - view diff
URL http://codebin.org/view/23b7f023 Embed
Download Paste or View Raw
  1. SELECT
  2.     t.name AS track_name,
  3.     CAST(i.invoice_date AS date) AS t_date
  4. FROM track AS t
  5. LEFT OUTER JOIN invoice_line AS il ON t.track_id=il.track_id
  6. LEFT OUTER JOIN invoice AS i ON il.invoice_id=i.invoice_id
  7. GROUP BY track_name, t_date

Reply to "Re: Untitled"

Here you can reply to the paste above