Fixed SQL

Added whole data entries