pls I need your help in my SQL query statement
Hi brotherspls guys I need someone help me on this issue
3.1.1.
List of all columns in all the lines in the table STOCKITEM Crescent primary key sequence.
Only list the lines where the selling price is higher than the price of purchase multiplied by 3 or the
selling price is lower than the price of purchase multiplied by 2?
I made this stastment but the ruselt doesn't come with multiplied by 2 or 3.
SELECT *.
IN stockitem
where sellprice > purchprice * 3
or sellprice > purchprice * 2
stkid asc agenda;
Something like that?
SQL> SELECT stkid,
2 sellprice*3 sellprice,
3 purchprice*2 purchprice
4 FROM stockitem
5 where sellprice > purchprice *3
6 or sellprice < purchprice *2
7 order by stkid asc
8 /
STKID SELLPRICE PURCHPRICE
---------- ---------- ----------
78 33 5.5
82 16.8 3.36
85 120 44
88 97.5 37
SQL>
Concerning
Girish Sharma
Tags: Database
Similar Questions
-
Pls I need reset password for hpcompaqminicq10 shows fatal error system halt < br > he is the serial num CNU0074CN4
Hello
Be aware that this is not supported by HP and you try at your own risk.
Try to enter: e9l11xve9v (to be noted that the 3rd character is a lowercase L)
Kind regards
DP - K
-
Need your help: installation of SQL authentication
Hello
I put the last finishing touches on my SRM 4.0 book. And I have a moment of doubt. I documented creation SQL2K5 MS with the SRM for SQL authentication, but I'm lacking confidence in the steps, because I don't know if they are 100% as a good administrator SQL them would.
Anyone here (or anyone here could) give me an approach step by step to Setup they used in production - which meets the standards of the company?
If I can't be 100%, I do the right way, I don't want to take the risk to include instructions that may not be 100% up to the mark...
Concerning
Mike Landry
RTFM education
Author of the book of MRS: http://stores.Lulu.com/RTFM
Free PDF or printed at price
Hi Mike,.
You have probably seen this document on VIOPS: http://communities.vmware.com/docs/DOC-11547 called "install and configure SQL Express 2005 for use with Site Recovery Manager V4» But in case you missed it, this is a great document, and what I used to do this. As the title suggests it is for SQL Express, but I doubt if it should be different on the full SQL Server.
Kind regards
-Poort
-
Yahoo mail is normally empty. One can type mail in the blank part of . In my case the Compose page has rail logo. because I can't type my mail. Even if there is no problem in gmail-INBO isn't the case with Gmail site "A Google approach to email" or make up may site.
For this reason, it is difficult to compose mail on yahoo mail. I need your help to clear advertising logo so that I can compose mail on a white page, cordially. eldiablo kumarYou can also try to install Adblock Plus with Easylist subscription and check
-
Yester night I tried to improve my S5 iphone for a new virsion so at the end he asked me my icloud and the password I remember my password but not my icloud so I need your help please.
Seems that Apple has temporary problems with their activation servers. Many users report similar problem on older devices.
Latest news: If you can not activate your iPhone, iPad, or iPod touch after installing iOS 9.3 - Apple Support
Hoppefully Apple will highlight the top soon.
-
buy an iphone 5s by amazon and I came with iCloud blocked an account... I called the seller and does not that I do that I'm from Venezuela please need your help
No one here can help you. The device is locked activation. Since you have made the purchase by Amazon, you can check with them to see if they will stand behind it. No one on the forum, or Apple can help you remove the lock. Only the previous owner can do this. I suggest that you demand a refund, so let's start a claim with Amazon about this dealer.
-
Please I need your help in the next issue.
Please I need your help in the next issue.
I'm trying to change a driver of function generator to perform the following operations:
starting with the initial value (for example 1 MHz) for some time (for example 10 sec.) and turn off the output for another time (e.g. 20 seconds) and then start again but this time with the frequency increment value (for example 1 MHz + 0.1 x n MHz = 1.1 MHz for n = 1, 2, 3,... n).
The function generator model is ag33xxxGPIB and the link of the driver is http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=E3B19B3E9066659CE034080020E748...
There is no modifications are required for the driver, although there might be an example that you can edit. You use the function of the frequency set in a loop with a shift register. Initialize the registry to offset with the frequency of your departure and each iteration of the loop, add the value of the step. Exit the loop when the stop frequency is reached. Try to write something and after back if you have any problems. Fix what you wrote.
It's pretty basic LabVIEW code. Did you do the online tutorials?
-
Pavilion 15-n200nx: I need your help
Hello group HP I need your help on activatin windows I update my laptop for windows pro 8.1 build 9600
but is not yet activate every time I open my computer laptop theres always notification that I need to activate my windows
notification require a product key... I have need of your immediately
Thank you.
Hello
The key is in the BIOS of your machine, please use the following tool to get:http://www.Belarc.com/free_download.html
When running this tool, it produced a report, scroll to the section of software management. Product key Windows 8 or 8.1 is there.
You can also use the following tool to discover:
https://www.magicaljellybean.com/KeyFinder/
Kind regards
-
I have always used the windows logo + L key to lock my computer, I remove things from my hard drive and now it locks not for me... need your help :)
Hi ddbowers01,
The other shortcut keys work?
Try pressing CTRL + ALT + DELETE and then try to lock the computer and check.
Check the setting below:
a. in the Control Panel, click user accounts.
b. click on change the way users log on or off the power.
c. Click to uncheck use the screen of welcome for a quick and easy connection.
d. click OK.
With regard to:
Samhrutha G S - Microsoft technical support.
Visit our Microsoft answers feedback Forum and let us know what you think.
-
I need your help. I forgot my administrator password.
I can connect to my laptop using the standard user account. My problem is I can not change the security settings, tune up and download any program, because somehow the administrators password has been changed and forgotten and I have not a flashdrive password key. Please I need your help. I'm not knowledgeable enough to solve computer problems. Is it possible to recover or reset a new administrator password?
Hello
Microsoft technical support engineers cannot help you recover the passwords of the files and Microsoft who are lost or forgotten product features. For more information about this policy, please see the sticky below:
Thank you
Keith
Microsoft Answers Support Engineer
Visit our Microsoft answers feedback Forum and let us know what you think -
Hello Sir,
I want to run or install my HP Laserjet P1006 printer to work on my system without the software freely, I have misplaced the software please I need your help.
Thank you
Alex
You can download the software here:
-
I really need your help. How about this one-CNU0092BPK
I really need your help
Hello
In this case, you must enter e9l11o7p2s (3rd character is a lowercase L) to the password screen.
Kind regards
DP - K
-
Can someone tell me please how to fix programs icon who turned into VLC player? I really need your help guys as soon as possible...
From what you have stated above, I think that the file association for LNK files has been given misdirection to the VLC Player. I've seen this happen when opening a program via a shortcut (for example. LNK file), you are asked what type of program to open it with. After selecting the VLC Player (or another program) via the Select a program from a list of programs installedand check always use the selected program to open this type of file (circled in red below), the document or program referenced by the shortcut of origin opens in VLC Player as it should.The problem is that now all shortcuts (for example. LNK files) on the desktop or in the browser will want to be opened by VLC Player and VLC Player icon to view the shortcut no matter what shortcut was originally intentioned to open. This is known as a file association and the default icon. The same condition can occur if you have performed these actions 'Open with' on one. JPG or even a. EXE, but the. LNK explanation is much more likely for the items on the desktop.
The good news is that a small free utility was written to cancel the. LNK file association was created. There is also a registry hack to achieve, but I recommend the utility unAssoc for its ease of use. I used to send people on another site to download this utility, but this site has become confused with all the ads and fake download links. I put a copy on own OneDrive here.
Just download, then use the utility to unassociate the. LNK files for the user or globally delete the file type and let windows rebuild a new default.
-
Update of Windows need your help
Dear community (Microsoft)
I'm on Windows 8 Pro Edition: © 2012 Microsoft Corporations. All rights reserved, I'm getting a massage, at random, every 4 or 5 seconds of my computer, windows update:
"Windows Update needs your help, windows Update was not able to verify the new updates for the last 30 days. Go to windows Update to resolve this issue. "
but I swiched windows update "check for updates but let me choose whether to download and install them" I don't want to upgrade my Windows now... I can't work like this massage coming on screen, yet and still now I can't send a screenshot, please help.
System Configaration: windows 8 pro
32-bit operating * 64 in Prossesor
Hello
You can click here on how to stop or hide the notification for Windows Update. If you want to completely delete or prevent Windows Update, you can click here and find the solution posted by "Mayank Gupta10".
Kind regards.
-
Hello
I have a data in table (raj_table) with columns (char11) raj_id, raj_number (varchar2 (15)), raj_format (NUMBER), Primary_ID (identity with the values of the primary key column)
Primary_ID raj_id Raj_number Raj_format
1 raj rajvend 1
2 raj rajvend 1
3 raj rajvendor1 2
4 raj rajvendor1 2
5 raj rajvendor1 2
6 raj rajvendor2 3
I used under SQL to get query output as below, but has not achieved the required result:
Select client_id vendor_number, vendor_format, primary_id, row_number() on sl_no (client_id partition, primary_id, vendor_format order of client_id primary_id, vendor_format, vendor_number, vendor_number)
from raj_table by sl_no asc
SL_NO raj_id raj_number raj_format primary_id
1 1 raj rajvendor 1
1 2 raj rajvendor 1
2 3 raj rajvendor1 2
2 4 raj rajvendor1 2
2 5 raj rajvendor1 2
3 6 raj rajvendor2 3
I need help with a SQL query to get the result as above without using the group by clause. I want to bring together the combination of separate line of the three columns (raj_id, raj_number, raj_format) and add a unique serial number for each online game (SL_NO column below). So, above there are 3 unique set of (raj_id, raj_number, raj_format) I can get in a group by clause, but I can not add prmiary_id, SL_NO values if I group by clause. I used the analytical functions like row_number() but no luck. Need solution for this.
with t as)
Select 'raj' raj_id, 'rajvend' raj_number, 1 raj_format, 1 primary_id Union double all the
Select option 2, 'raj', 'rajvend', 1 double Union all
Select 3, 'raj', 'rajvendor1', 2 double Union all
Select 4, 'raj', 'rajvendor1', 2 double Union all
Select 5, 'raj', 'rajvendor1', 2 double Union all
Select 6, 'raj', 'rajvendor2', 3 double
)
Select dense_rank() over (order of raj_id, raj_number, raj_format) sl_no,
t.*
t
order by primary_id
/
PRIMARY_ID RAJ RAJ_NUMBER RAJ_FORMAT SL_NO
---------- ---------- --- ---------- ----------
1 1 raj rajvend 1
1 2 raj rajvend 1
2 3 raj rajvendor1 2
2 4 raj rajvendor1 2
2 5 raj rajvendor1 2
3 6 raj rajvendor2 36 selected lines.
SQL >
SY.
Maybe you are looking for
-
I'm running on snow leopard and upgrade to el capitan. If I just update without backup (because I have no external HARD disk) data will generally be safe / normal after all as we updated iOS iPhone via OTA or need to recover the data again whenever w
-
Boolean cluster activation analysis codes
Hi, I'm trying to activate Boolean controls in a cluster using an analysis code. Can someone help me? I have attached a VI below with instructions to illustrate the problem. Thank you. John
-
When I try to print a photo from the drawer in the little picture, I get a broad white border on one side. How can I fix it. Lesley_Reilly
-
How to download and store the file in the device
I need to download and save a file to the server. Can any one go code me for this example.
-
Installation of Windows 8 to 8.1 does not
This was annoying for like 6 months. First of all, the update of windows appeared on my screen and I am able to download. He did the thing 'you have 15 minutes to save your stuff' and then I press the button restart and all I see is the hp (my laptop