Depends on whether you pronounce it see-kew-lite or ess-kew-lite :)
In all my years in the industry working with SQL databases (since the early 90's), virtually no-one familiar with these products spelled out S-Q-L as the pronunciation.
the rule is about the sound of what follows, not whether or not it's a consonant/vowel:
- an SSD if you pronounce it ess-ess-dee
- a universal constraint - vowel but a is correct here due to sound
- an SQL database - again, pronunciation dependent