sqlboiler/boil/_fixtures/07.sql

1 line
140 B
MySQL
Raw Normal View History

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