Working select and insert.