Skip to content

Commit

Permalink
Updated database with new programmer linker table
Browse files Browse the repository at this point in the history
  • Loading branch information
StrahinjaJacimovic committed Nov 26, 2024
1 parent ecdb036 commit 11b1a88
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
Binary file modified necto_db_dev.db
Binary file not shown.
14 changes: 12 additions & 2 deletions utils/databases/queries/Programmer.sql
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
SELECT
*,
(uid) AS item_uid,
(uid) AS item_uid,
(name) AS item_title
FROM
Programmers
Expand All @@ -19,4 +19,14 @@ WHERE
LIMIT
1
)
) AND (Programmers.installed = 1) AND (Programmers.name LIKE '%%1%')
)
AND Programmers.uid IN (
SELECT
programmer_uid
FROM
CompilerToProgrammer
WHERE
compiler_uid = (SELECT uid FROM SelectedCompiler)
)
AND Programmers.installed = 1
AND Programmers.name LIKE '%%1%'

0 comments on commit 11b1a88

Please sign in to comment.