update all commands and havent tested
This commit is contained in:
11
main.py
11
main.py
@@ -1,5 +1,6 @@
|
||||
from MonetDB import *
|
||||
from PostgreSQL import *
|
||||
import re
|
||||
|
||||
#Monet DB
|
||||
requeteSelect1MonetDB = """SELECT * FROM flights WHERE "AIRLINE" = 'AA';"""
|
||||
@@ -26,11 +27,11 @@ if __name__ == '__main__':
|
||||
#PostgreSQL
|
||||
#create_tables_postgres()
|
||||
#create_data_postgres()
|
||||
requete_postgres(str)
|
||||
#requete_postgres(str)
|
||||
|
||||
#MonetDB
|
||||
conn, cursor =connect_monetdb()
|
||||
create_table_monetdb(cursor)
|
||||
create_data_monetdb(cursor)
|
||||
requete_monetdb(cursor, str)
|
||||
disconnect_monetdb(conn, cursor)
|
||||
create_table_monetdb(conn,cursor)
|
||||
#create_data_monetdb(conn,cursor)
|
||||
#requete_monetdb(conn,cursor, str)
|
||||
#disconnect_monetdb(conn, cursor)
|
||||
|
||||
Reference in New Issue
Block a user