Second version of SQL