« first day (1383 days earlier)      last day (1275 days later) » 

12:00 AM
you don't have any index in the prices table that could be used
 
@TehShrike Haha, you knew what I'm about to ask (about the time it needs)
 
Your prices table doesn't make any sense
 
Hmm, i am not quite sure about index? As I am quite new to database
 
the prices table's primary key shouldn't be prices_id and tickers_ticker_id
that doesn't make sense
the auto-increment value should be the primary key
 
Which means the Price_ID should be the only primary key?
 
12:02 AM
the primary key is the column that identifies that row
the auto-increment value should uniquely identify a row
you may want other unique keys to be enforced on the table as well
and I'm certain that you would want an index on each foreign key at least (Tickers_Ticker_ID, Comment_ID)
That giant unique key on the prices table is pretty horrible
It will be an absolutely gigantic index that accomplishes almost nothing
Any chance you can redesign your schema to be more correct? I'd be willing to help
 
If you don't mind, it would be much appreciated if you can redesign the schemas!
I was all alone learning how to create the schemas, thus why it's bad as database wasn't something I learn
I'm trying to digest what you told me
 
@Shyuan Sweet! Is there any chance you could meet online tomorrow morning, say in about 18 hours? I have guests arriving momentarily
 
18 hours from now on? :)
 
I'm sorry to raise your hopes and then run off so quickly :-x
@Shyuan I'm not sure what time zone you're in
 
No no!
 
12:09 AM
But I'll probably go to sleep once my guests leave
 
Hmm, my time is now 12:09am
 
but I have tomorrow off so I can dispense some database knowledge then if you're around
 
GMT +0
 
so I'm 6 hours behind
So tomorrow at 16:00-17:00 your time maybe?
 
if you let me know how many hours counting from now, i can accommodate your time :)
sure :)
that will be your morning right?
 
12:10 AM
Cool. Ping me around then if you're online, or I'll ping you when I wake up/remember
@Shyuan Correct. Late morning - it's a vacation, I'll likely sleep in a bit :-)
 
Sure, thanks for willing to help out!
:D
But i don't mind if you're not able to spend time on it
 
@Shyuan My pleasure. Talk to you later!
 
I appreciate your kindness
Sure! Bye! Have a good evening!
 
 
2 hours later…
2:14 AM
can I ask some help here how to query parent to chile it's like geneology ?
 

« first day (1383 days earlier)      last day (1275 days later) »