« first day (1303 days earlier)      last day (1355 days later) » 

6:11 AM
hello
TehShrike
 
6:26 AM
hey guys . I want a site like this . except the adding cart and transactions..letote.com
Can you help me how to start a database structure on this.
also normalization .
please :-(
I mean a database schema of that site..
 
6:48 AM
Proper database design in making a site like this letote.com
 
7:11 AM
Hello Everyone Good Afternoon
Pls someone hep me on IN clausel
I have products table and category table
I wanaa select prodcuts in category ID 1 and 2
means only those products those are in both 1 and 2 but IN is working like either 1 or 2
pls someone help
 
 
2 hours later…
9:25 AM
@TehShrike hi
How can i view the table names as currently restricted to view them
 
9:56 AM
hi all
anybody there?
 
 
1 hour later…
11:18 AM
Hello everyone
I would like to ask a question ? is it possible to reference a non-unique column into another table ?
 
 
2 hours later…
1:39 PM
@cjnahine05 what's the question?
@androidBeckhamania how do products have multiple categories? What does your schema look like? Do you have a product table, a category table, and a product_category table for a M:N relationship?
@user285oo6 what do you mean "as currently restricted to view them"? You can view table names with the SHOW TABLES query
@Julo0sS Yes! As the topic says, Ask your question, and then hang around a while to see if an expert looks back at their screen and answers it!
@osamaalbanna It's certainly possible, but probably not be a good idea. What kind of reference are you talking about making?
 
 
3 hours later…
4:51 PM
@TehShrike @TehShrike well example you have a products table & and each product has ID,name,code,price....so far ID,name,code can be a primary and it's possible to reference them,but for the price ..many products possible have same price....I have another table that I put temporary data there called "Basket" table ..act like a shopping card...so I can't reference the price inside the basket table . unless done through php
 
@osamaalbanna you probably want to have a table for inventory, a table for inventory types, a table for customers, a table for shopping carts/invoices, a table for shopping cart/invoice lineitems
Wouldn't price be a property/column in an inventory table?
And then also in the invoice lineitem table whenever a purchase was made?
 
 
3 hours later…
7:50 PM
@TehShrike yes exactly the price will be the property/column in the inventory table...also will be in the invoice lineitem when ever purchase made.
 
@osamaalbanna sure, you need it in the inventory table to represent what the current price is, and you need it in the lineitem table as a record of what the price was when that purchase was made
 

« first day (1303 days earlier)      last day (1355 days later) »