GetData.sql

simplely connect mysql , get data and count seconds