Update app.py
Browse files
app.py
CHANGED
@@ -46,7 +46,7 @@ prompt=[
|
|
46 |
\nExample 5-List the classes with the highest average marks.
|
47 |
SQL Command Example: SELECT CLASS FROM STUDENT GROUP BY CLASS HAVING AVG(MARKS) = (SELECT MAX(AVG(MARKS)) FROM STUDENT GROUP BY CLASS);
|
48 |
|
49 |
-
also the sql code should not have ``` in beginning or end and sql word in output
|
50 |
|
51 |
"""
|
52 |
|
|
|
46 |
\nExample 5-List the classes with the highest average marks.
|
47 |
SQL Command Example: SELECT CLASS FROM STUDENT GROUP BY CLASS HAVING AVG(MARKS) = (SELECT MAX(AVG(MARKS)) FROM STUDENT GROUP BY CLASS);
|
48 |
|
49 |
+
also the sql code should not have ``` in beginning or end and sql word in output and table name is "student" u want to retrieve from
|
50 |
|
51 |
"""
|
52 |
|