Databases | SQL | Oracle | MS Access Answers

Questions: 901

Answers by our Experts: 732

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

How many books does each publisher publish? This is from Bernie’s Book database. Use PUBLISHERS and TITLES. Display the publisher name and the number of books.
hello Mr Eljon,

i need to ask something concerning access 2007. I have a table with customers and their total value of purchases per day and i need to create a query that calculates the average value of the last 3 purchases per customer, irrespective of the date that those purchases took place.

Konstantinos Drosatos
write a function to return average of digits in an inputted number.
i want to retrieve my entire table that is stored in databse named as table1 , on another form i click on the button and want to dispaly the entire table that is stored in databse ,,,, is it possible ?
1) Fetch all the customers that are not from region 'BC' or 'SP'
2 Show all customer contact names and titles for the business owners who are from Germany or France
3 Fetch customers from Germany, Mexico and Sweden
4 Display customers that are from Switzerland but not from city Bern
5 Display total amount by Order ID
6 Count the number of products by Category ID
7 Count the number of products by Category ID and Discontinued status
8 Count the number of products by Supplier ID and Category ID
9 Count the number of products that need to be re-ordered
10 Count the number of products by category ID that are sold in bottles
suppose i want to retrieve top 10 products from tbl_products where product_active = 1
but i got only 3 products by matching where condition
now in this case i want to retrieve 3 products of matching the condition and 7 any other products from tbl_products...so how can i will solved this?
I have three table



CMS_MenuMaster

ID MenuName MenuDesc ParentID DisplayOrder

1 Product -- 0 1

2 ABC -- 1 2

3 DEF -- 1 3

4 Home -- 0 2

5 Service -- 0 3


EE_RightMaster

RightID RightCode RightDesc

1 Product 1

2 Home 4

3 Service 5

EE_GroupRights

GroupRightID GroupID RightID
1 3 1




Create Procedure SpGetAllMenus
@GroupID int
as
begin
select t3.ID, t3.MenuName, t3.DisplayOrder, t3.Disable, t3.MenuDesc,t3.ParentID,
(select IsNull(MenuName,'') from CMS_MenuMaster where ID = t3.ParentID) as ParentMenu,
from EE_GroupRights t1
inner join EE_RightMaster t2 on t1.RightID = t2.RightID
inner join CMS_MenuMaster t3 on t3.ID = cast(t2.RightDesc as int)
where t1.GroupID = @GroupID
end


for groupid 3 it giv
What are assignment statements in mysql?
sir..I am making a sign up page for my website.. There is no mistake in my coding every thing work perfect but when i sign up in my website and get mail in my gmail account when i click the link it give an error ""Your credentials are not matching anything in our system""
please help me or suggest the way why this error is shown...
and sorry for my bad english
How would i correct a concat statement in a stored procedure that uses a cursor in MySQL so that it would display the result like this:"Gibson SG","2517.00"|"Gibson Les Paul","1199.00"|. Here is what i have for my concat statement: set answer=concat(answer, "",product_name,',',"", list_price, '|');
LATEST TUTORIALS
APPROVED BY CLIENTS