Originally posted by jamesbrown
View Post
- Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
- Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!
Learn SQL - Recommendations?
Collapse
X
-
No self-respecting developer admits to being a developer.The greatest trick the devil ever pulled was convincing the world that he didn't exist -
What's fully normalized? 3NF? 4NF? Probably most would say 3NF but when you look at databases they're mostly 2NF with a bit of 3NF and some 1NF and some non normalized.Originally posted by ladymuck View PostBut understanding how tables are organised in a proper database will help navigate where something has been fully normalised and you have to do multiple joins (and work out which type) in order to get a "sensible" looking output.
None of it is deliberate by the way.. no one designing these systems says we are going to put x, y, z tables in 2NF and a, b, c tables in 3NF and d, e, f tables are a combination, etc.
When was the last time you looked at a system and saw an address table for example?
Teaching people who only need to query data about normalisation just gets them worrying about theory that isn't consistent in practice and isn't even really applicable to their select query anyway.Comment
-
I think another important thing to understand is the difference between OLTP and reporting databases.
OLTP are designed for getting data in and are almost a table per user screen, while reporting databases have been structured so that data is easier to analyse.
Personally, if you're starting of with databases, I'd recommending downloading and installing MS SQL Server - it's free and easy to install and is very popular with on-premises. If cloud is your thing, then Postgres or MySQL would be more appropriate. All flavours of SQL are fairly similar but have nuances around things like dates and string manipulation.
As others have said, production code shouldn't ever contain SELECT *The greatest trick the devil ever pulled was convincing the world that he didn't existComment
-
Today.Originally posted by jayn200 View Post
When was the last time you looked at a system and saw an address table for example?Comment
-
Did you create it?Originally posted by woohoo View PostToday.
I have seen it split out probably less than 10% of the time in ERP and CRM systems both off the shelf and bespoke.
Point is they're hardly ever normalized to any consistent standard. Occasionally you will see an ERP system that's mostly normalized to 3NF and it's absolute hell to deal with for any type of data integration and impossible to work with without a full data dictionary.Comment
-
Yep i created it. But its not something that is rare, i dont see a database with an address table and buckle at the knees.Originally posted by jayn200 View PostDid you create it?
I have seen it split out probably less than 10% of the time in ERP and CRM systems both off the shelf and bespoke.
Point is they're hardly ever normalized to any consistent standard. Occasionally you will see an ERP system that's mostly normalized to 3NF and it's absolute hell to deal with for any type of data integration and impossible to work with without a full data dictionary.
But i take your point.Comment
-
Last client went to a level of overkill on table design that made getting data out very difficult. Over normalised, if such a thing is possible.
My point was less about the nuts and bolts of database design but more about understanding how the design affects the type of join you need to do in order to access the data you need.Comment
-
When I did some DB design in previous life, I used to normalise to Boyce-Codd Normal Form, just because I liked the name.
Well, it was DB design - something had to keep me entertained.Comment
-
Originally posted by LondonManc View PostNo self-respecting developer admits to being a developer.
I've developed using C-41 in the past. Does that count?…Maybe we ain’t that young anymoreComment
- Home
- News & Features
- First Timers
- IR35 / S660 / BN66
- Employee Benefit Trusts
- Agency Workers Regulations
- MSC Legislation
- Limited Companies
- Dividends
- Umbrella Company
- VAT / Flat Rate VAT
- Job News & Guides
- Money News & Guides
- Guide to Contracts
- Successful Contracting
- Contracting Overseas
- Contractor Calculators
- MVL
- Contractor Expenses
Advertisers
Contractor Services
CUK News
- Is your Director’s Loan Account (DLS) a target of HMRC’s closer look at close companies? May 29 04:45
- Contractors, are you making any of the five big limited company bank account mistakes of 2026? Today 05:51
- ‘Welcome’ increase in HMRC mileage rates for contractors using their own cars for work Yesterday 05:18
- King’s Speech 2026 including a welcome Late Payments Bill still leaves contractors short May 26 04:42
- Getting a mortgage when you're a contractor. The system wasn't built for you. Is that finally changing? May 22 06:11
- How deepfake AI contractors threaten umbrella company supply chains under JSL May 20 06:31
- Mileage rates review: Will the first AMAP rethink in 15 years benefit contractors? May 19 05:57
- What is a Forward Deployed Engineer (FDE), and are FDE jobs for IT contractors ripe? May 18 04:43
- IT contractor demand lunged towards growth in April 2026 May 13 04:48
- What does PGMOL’s win over HMRC mean for contractors? May 12 07:25


Comment