add lab3.sql

lab 3 done