Skip to content

Why do not display values that I have entered in a database table?

Good evening. I have created a database with ORACLE SQL Developer and am having a small problem. In the RENTING table that I have created something like this: I am trying to enter the following data: cAFM = 10001, vPlateNumber = ‘XKO5434’, OutDate = ’13 / 07/2020 09:30 ‘, InDate = &#82…

Endless Loop or No Output for Recursive SQL Query

I have the following table, My goal is to create a supervisor view in which there is a 4th column that has the name of the supervisor that matches the S code. My query returns to me either nothing except the column headers or a never ending recursion that loops into the 100,000’s. What I’ve writte…

How to create a view using data from two tables

I have two tables ITEM id (int), model (varchar), weight (float), fk_type (int) TYPE id (int), name (varchar) And I want to create a view with TypeName (for every type name) –> varchar NumberOfItems (total number of ITEMS for TypeName) —> int NumberOfModels (total number of MODELS for TypeNa…