Repeat Exercise 5.13 using ODBC, defining void printTable(char *r) as a function instead of a method.
Reference Exercise 5.13:
Suppose you were asked to define a class MetaDisplay in Java, containing a method static void printTable(String r); the method takes a relation name ras input, executes the query “select* fromr”, and prints the result out in nice tabular format, with the attribute names displayed in the header of the table.
a. What do you need to know about relation rto be able to print the result in the specified tabular format.
b. What methods(s) can get you the required information?
c. Write the method printTable(String r) using the .
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.