Skip to content

Tag: sql

Oracle SQL join and expand [closed]

Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 2 years ago. Improve this question I have 2 tables – sales and ratio. sales table has 2 columns – state, sales. Thi…

sql distinct statement not working in powershel script

I am trying to run the following sql command on a powershell script: I set the following as a variable: after some other commands, i have the following: The above command works perfectly in SQL, but when I run on my powershell I get the error: Please can anyone advise? Thank you. Answer Thank you to Luuk and …

Create Children and Parent of a Person

I have the following Type Address and PhoneNumber: CREATE TYPE Adress AS Object (Street varchar2(50), PostalC number, Ville varchar2(50)); CREATE TYPE PhoneNumber AS Object (Ind varchar2(3), PhNumber …