Scenario Examine the following database design

PHOTO EMBED

Mon Mar 27 2023 11:22:59 GMT+0000 (Coordinated Universal Time)

Saved by @kalvadet #python #sql

SQL = '''SELECT O.OrderNumber, O.OrderDate, TotalAmount, O.CustomerID
         FROM [Order] O, Customer C
         WHERE O.CustomerID = C.Id
         AND C.Id = :custID'''

for row in cursor.execute(SQL, {'custID':inputid}):
    print(row)
cursor.close()

content_copyCOPY