Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

USE python !!! import sqlite3 A_students: This function takes a connection object,a table name with default valueISTA_131_F17, a class standing string with default value None,

USE python !!! import sqlite3

A_students: This function takes a connection object,a table name with default value"ISTA_131_F17", a class standing string with default value None, and a maximum number of results to return with default value 10. This function returns a list containing the names of the students up to the specified maximum number (it may be less if there aren't that many in the table) in the format"last, first". If the class argument is None, take the students from the whole table, otherwise just from students with the specified class standing. Your query should be case insensitive regarding the class standing. Within in the group, sort on the names. Don't pull all of the data into Python and then do the logic there, do it with properly constructed queries. You may have two queries, one that executes if class standing is None; the other if it is either 'freshman', 'sophomore', etc.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Visual Basic Net Database Programming

Authors: Rod Stephens

1st Edition

0789726815, 978-0789726810

More Books

Students also viewed these Databases questions

Question

Recognize the power of service guarantees.

Answered: 1 week ago

Question

Demonstrate how to use the Gaps Model for diagnosing and

Answered: 1 week ago