Jika permintaan cetak Python kosong
# cursor.rowcount will usually be set to 0.
if cursor.rowcount == 0:
print("No results")
elif cursor.rowcount > 0:
for results in result_from_query:
print(results)
Worried Warbler