← prev | next →
MasterZiv 2019-12-02 09:41:13
Manogna 2019-12-02 09:11:02
I need MySQL notes
My note on MySQL:
You have to study hard to be able to use it.
Manogna 2019-12-02 10:09:16
MasterZiv 2019-12-02 09:41:13
My note on MySQL:
You have to study hard to be able to use it.
Ok
smlkw 2019-12-02 14:39:16
MasterZiv 2019-12-02 09:41:13
My note on MySQL:
You have to study hard to be able to use it.
MySQL can be replaced by X and it will be a universal note.
. 2019-12-08 07:06:49
Hi All, I need a help in making a table to be in 3NF
. 2019-12-08 07:07:19
Could anyone help me on this please
piterden 2019-12-08 07:10:33
. 2019-12-08 07:07:19
Could anyone help me on this please
Share your tables
. 2019-12-08 07:11:42
A table with fields
•Location
•Location Code
•Account
•Tower
•Engineer
•Caller
✓ Each Location will be having a location code.
✓ Each location will be having certain number of accounts
✓ Each account will be having Different callers and Different Towers
✓ Each engineer will be working for two or more accounts
Any other info needed!
piterden 2019-12-08 07:13:14
What is Caller?
What is Tower?
piterden 2019-12-08 07:15:03
May account have a few locations?
. 2019-12-08 07:16:34
EXAMPLES
Location :
MEXICO
FRANCE
ITALY
LOCATION CODE:
MX
FR
IT
ACCOUNT:
JOCKEY
CALVIN KLEIN
HUGO BOSS
TOWER:
WINTEL
UNIX
DATABASE
ENGINEER:
SARAN
PRAVEEN
ABIRAMI
CALLER:
ALERTS GENERATED BY A TOOL
USER CREATED
. 2019-12-08 07:17:09
piterden 2019-12-08 07:15:03
May account have a few locations?
Yeah a location can have multiple number of accounts
piterden 2019-12-08 07:17:43
. 2019-12-08 07:17:09
Yeah a location can have multiple number of accounts
I asked about account
. 2019-12-08 07:18:37
piterden 2019-12-08 07:15:03
May account have a few locations?
No only one Denis
piterden 2019-12-08 07:19:44
Do you mean Calvin Klein can be placed only in mexico?
. 2019-12-08 07:19:55
Yeah
piterden 2019-12-08 07:20:15
Why?
. 2019-12-08 07:20:41
Each location will be supporting a specific account
. 2019-12-08 07:21:22
Example: calvin klein is supported only from mexico
piterden 2019-12-08 07:21:50
. 2019-12-08 07:17:09
Yeah a location can have multiple number of accounts
You sad
piterden 2019-12-08 07:22:45
It means account should have a location_id column
piterden 2019-12-08 07:23:07
. 2019-12-08 07:20:41
Each location will be supporting a specific account
Then you sad
. 2019-12-08 07:23:18
piterden 2019-12-08 07:22:45
It means account should have a location_id column
Yes
piterden 2019-12-08 07:23:21
It means the opposite
. 2019-12-08 07:23:29
Wait for a sec Denis
piterden 2019-12-08 07:24:01
It means location should have account_id col
piterden 2019-12-08 07:26:45
CK
– Mexico
– Russia
– Egypt
. 2019-12-08 07:27:02
piterden 2019-12-08 07:26:45
CK
– Mexico
– Russia
– Egypt
Just the opposite
piterden 2019-12-08 07:27:29
Mexico can have a few accounts
. 2019-12-08 07:27:37
piterden 2019-12-08 07:27:29
Mexico can have a few accounts
Yes
piterden 2019-12-08 07:27:58
Can one account have a few places?
. 2019-12-08 07:28:15
piterden 2019-12-08 07:27:58
Can one account have a few places?
No Denis
piterden 2019-12-08 07:29:02
So Calvin Klein can’t work in Mexico and in France?
. 2019-12-08 07:29:17
Absolutely
piterden 2019-12-08 07:30:47
– accounts
– id
– location_id
– engineer_id
– locations
– id
– code
– towers
– id
– account_id
– callers
– id
– account_id
– engineers
– id
. 2019-12-08 07:33:05
Thank You, Denis but
. 2019-12-08 07:33:48
An engineer can be supporting multiple accounts….
piterden 2019-12-08 07:34:33
And what about account? Can it have many engineers?
. 2019-12-08 07:34:34
Right… Then there will be duplication engineers table!
. 2019-12-08 07:35:31
An account can have multiple towers.. Each tower will be supported by an engineer.
. 2019-12-08 07:35:45
An engineer can support two or more accounts
piterden 2019-12-08 07:36:19
– accounts
– id
– location_id
– locations
– id
– code
– towers
– id
– account_id
– engineer_id
– callers
– id
– account_id
– engineers
– id
. 2019-12-08 07:36:46
piterden 2019-12-08 07:36:19
– accounts
– id
– location_id
– locations
– id
– code
– towers
– id
– account_id
– engineer_id
– callers
– id
– account_id
– engineers
– id
Thank you🥰
piterden 2019-12-08 07:37:14
Tower is a pivot between account and engineer
piterden 2019-12-08 07:37:27
Tower implements MtoM
. 2019-12-08 07:38:30
I have stuck with another problem Denis… Reach you soon & Thanks for your help.
piterden 2019-12-08 07:41:36
. 2019-12-08 07:38:30
I have stuck with another problem Denis… Reach you soon & Thanks for your help.
I have another trouble. I want to eat )
. 2019-12-08 07:42:09
I’m sorry☺️😋😋
piterden 2019-12-08 07:42:42
No worries, I will do it sometime
piterden 2019-12-08 07:45:03
Where are you from?
← prev | next →