Question: iii. Write code that will be used to encode the SQL results in JSON format and display as follows: ( 5 marks ) { book

iii. Write code that will be used to encode the SQL results in JSON format and display
as follows:
(5 marks)
{ "book_id": "1",
"book_name":"21 Burgers for the 21st Century",
"author": "Stuart Reges",
"category": "cooking",
"date" : "2011-12-14",
"price":"75"}
 iii. Write code that will be used to encode the SQL

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!