Modified sql links