sql - Query csv file in python and create new table -


i have csv table data looks below:

    import_id   import_ava  export_id   export_ava  dis1 dis2     si1440834   2/18/2015   si1313709   2/20/2015   140 51     si1440974   2/18/2015   si1313709   2/20/2015   1   260     si1441006   11/29/2014  si1313709   12/4/2014   3   252     si1440874   12/17/2014  si1313721   12/20/2014  19  219     si1440997   1/15/2015   si1313721   1/17/2015   3   249     si1440672   2/17/2015   si1313722   2/21/2015   65  174     si1440997   2/24/2015   si1313722   2/24/2015            si1440874   11/14/2014  si1313722   11/18/2014  16  232     si1440834   1/30/2015   si1313722   2/4/2015         

i want query-

select export_id, import_id, dis1, dis2, import_ava ex_p_temp table; 

i tried query on sample data using module sqlite3 didn't work out. also, didn't allow me import csv file. how do it? can new table ex_p_temp in csv format?


Comments

Popular posts from this blog

c# - Better 64-bit byte array hash -

webrtc - Which ICE candidate am I using and why? -

php - Zend Framework / Skeleton-Application / Composer install issue -