Some more tables and using views in query
This commit is contained in:
parent
6554cb2b6f
commit
09765fdb24
2 changed files with 40 additions and 3 deletions
|
@ -127,7 +127,7 @@ public class Database {
|
|||
try {
|
||||
Statement stmt = conn.createStatement();
|
||||
StringBuilder query = new StringBuilder(
|
||||
"SELECT cookie_name, status FROM pallets JOIN cookies ON pallets.cookie_id = cookies.cookie_id");
|
||||
"SELECT cookie_name, status FROM pallets_view");
|
||||
|
||||
// r is validated here
|
||||
if (r.isPresent()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue