sqlboiler/boil/_fixtures/07.sql
2016-08-13 03:59:50 +10:00

1 line
No EOL
140 B
SQL

SELECT "videos".* FROM "videos" INNER JOIN (select id from users where deleted = $1) u on u.id = videos.user_id WHERE (videos.deleted = $2);