Assume a table, task, with the following columns: § task_id (int, Not NULL) § task_description (text, Not NULL) § parent_task_id (int, NULL) Write a stored procedure and program (in any language of your choosing) to produce a text based hierarchical tree of the tasks rooted at a given task, using tabs to show the hierarchy. For example, if these rows exist in the task table: task_idtask_descriptionparent_task_id 1Eat LunchNULL 2Choose restaurant1 3Order food1 4Call restaurant3 5Have staff meetingNULL 6Send agenda5 And your program in invoked as follows: tasktree –t 1 It will produce this output: Eat Lunch Choose restaurant Order food Call restaurant
Data Base Administrator Interview Questions
3,087 data base administrator interview questions shared by candidates
What is your past experience?
previous company role Processes errors regular issues faced
What is sql injection?
What is a JOIN?
Database migration process, Good learning capabilities and grasping power,
What are the most important duties for a DBA?
How to create new replicated database using transactional replication when old replica cannot be used anymore.
Expected salary
Quanto tempo tenho de experiência com administração de Banco de Dados?
Viewing 491 - 500 interview questions
See Interview Questions for Similar Jobs
Data ReportingInfrastructure SpecialistDatabase AdministrationSenior Oracle Pl Sql OntwikkelaarDatabase AdminEtl ArchitectDatabase Administrator IiDatabase ArchitectDatabase AnalystPostgresql Database AdministratorDatabase Administrator DbaData Reporting AnalystSoftware Engineer Identiteit En ToegangsbeheerDatabasebeheerder Oracle DbaSenior Oracle DatabasebeheerderTeradata OntwikkelaarDatabasebeheerder DbaDatabank Architect