Curioustab
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Take Free Test
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Take Free Test
Database Redesign Questions
Database redesign and reverse engineering: does the data model produced from reverse engineering exclude associative (intersection) tables, or should those many-to-many bridge entities be captured in the model as well?
In SQL, does NOT EXISTS evaluate to true when the subquery returns any matching row, or only when the subquery returns no rows at all?
Database projects: is it generally difficult to design and build a database correctly on the very first attempt, without iteration or refactoring?
Schema evolution: is adding new nullable columns to an existing relational table typically straightforward for both design and deployment?
Naming policies: some organizations require that applications never reference base table names directly (e.g., forcing use of views, synonyms, or APIs). Is that a legitimate stance?
Socio-technical perspective: do information systems and organizations not merely influence each other but, in effect, co-create each other over time?
Reverse engineering definition: is reverse engineering the process of reading an existing database schema and generating a data model from that schema?
Redesign hygiene: during a database redesign, is it typical to maintain at least two separate copies of the schema (for example, development and test) rather than working only against production?
Careers in data quality: given that creating test databases and test data is critical, are there truly “few career opportunities” in this area?
Subquery evaluation order: is a non-correlated (regular) subquery evaluated first (inner to outer), effectively processing from the bottom up?
In database design and normalization, a dependency graph (also called a functional-dependency diagram) uses nodes and directed arcs to illustrate attributes and their dependency relationships across a database schema. Is this description accurate?
In standard SQL querying, the EXISTS predicate evaluates to true if the subquery returns at least one row that satisfies the given condition. Is that interpretation correct?
In SQL, a correlated subquery is fundamentally the same as a regular (uncorrelated) subquery and behaves identically during evaluation. Is that statement accurate?
Because database redesign requires deep SQL knowledge and careful schema refactoring, many teams rely on automated tools and generators to assist the redesign process. Is this generally a fair characterization?
Once a database is designed “correctly” the first time, it will never need redesign or refactoring in the future. Is this claim valid given evolving business requirements and workloads?
Is database redesign especially difficult when a database has no data at all, compared to when it contains production data that must be preserved and migrated?
Does the model obtained by reverse engineering an existing database (from DDL and catalog introspection) directly yield a fully normalized, platform-agnostic logical data model?
Processing model: Is a correlated subquery executed as a nested subquery that is evaluated once per candidate row of the outer query (subject to optimizer rewrites)?
Standards question: Is the SQL-92 standard command to rename a table literally RENAME TABLE, or is table renaming vendor-specific (for example, ALTER TABLE ... RENAME TO)?
Can a double application of NOT EXISTS (for example, using NOT EXISTS ... NOT EXISTS patterns) be used effectively to find rows that do not match or fail to satisfy a specified condition (classic anti-join or relational division patterns)?
1
2