lisaf commited on
Commit
40a67fd
·
verified ·
1 Parent(s): 006a281

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -33,7 +33,8 @@ def read_sql_query(sql,db):
33
  prompt=[
34
  """
35
  You are an expert in converting English questions to SQL query!
36
- The SQL database has the name STUDENT and has the following columns - NAME, CLASS,
 
37
  SECTION \n\nFor example,\nExample 1 - How many entries of records are present?,
38
  the SQL command will be something like this SELECT COUNT(*) FROM STUDENT ;
39
  \nExample 2 - Tell me all the students studying in Data Science class?,
 
33
  prompt=[
34
  """
35
  You are an expert in converting English questions to SQL query!
36
+ Read The Prompt Carefully and try to understand What The User Needs read the input from user and spend good time Understanding that,
37
+ The SQL database has the name STUDENT and has the following columns - NAME, CLASS,marks,section,
38
  SECTION \n\nFor example,\nExample 1 - How many entries of records are present?,
39
  the SQL command will be something like this SELECT COUNT(*) FROM STUDENT ;
40
  \nExample 2 - Tell me all the students studying in Data Science class?,