Complete the code to select all copper areas not connected to any net.
SELECT * FROM copper_areas WHERE net_id IS [1];Unconnected copper areas have a NULL net_id, meaning they are not linked to any net.
Complete the code to count unconnected copper areas in the PCB.
SELECT COUNT(*) FROM copper_areas WHERE net_id IS [1];Counting unconnected copper means counting rows where net_id is NULL.
Fix the error in the code to find unconnected copper areas.
SELECT * FROM copper_areas WHERE net_id [1] NULL;Using '=' to compare with NULL is incorrect in SQL; use 'IS NULL' instead.
Fill both blanks to filter unconnected copper areas and order by area size descending.
SELECT * FROM copper_areas WHERE net_id IS [1] ORDER BY area [2];
We filter where net_id IS NULL and order by area descending to see largest unconnected copper first.
Fill all three blanks to create a report showing unconnected copper count per layer, ordered by count descending.
SELECT layer, COUNT(*) AS unconnected_count FROM copper_areas WHERE net_id IS [1] GROUP BY [2] ORDER BY unconnected_count [3];
We filter unconnected copper with 'IS NULL', group by layer, and order counts descending.
