<Table> <Tr> <Th_colspan="2"> South Africa at the Commonwealth Games </Th> </Tr> <Tr> <Td_colspan="2"> </Td> </Tr> <Tr> <Th> CGF code </Th> <Td> RSA </Td> </Tr> <Tr> <Th> CGA </Th> <Td> South African Sports Confederation and Olympic Committee </Td> </Tr> <Tr> <Th> Website </Th> <Td> sascoc.co.za </Td> </Tr> <Tr> <Th> Medals Ranked 6th </Th> <Td> <Dl> <Dt> Gold </Dt> <Dd> 130 </Dd> <Dt> Silver </Dt> <Dd> 123 </Dd> <Dt> Bronze </Dt> <Dd> 136 </Dd> <Dt> Total </Dt> <Dd> 389 </Dd> </Dl> </Td> </Tr> <Tr> <Th_colspan="2"> Commonwealth Games appearances (overview) </Th> </Tr> <Tr> <Td_colspan="2"> <Table> <Tr> <Th_colspan="2"> British Empire Games </Th> </Tr> <Tr> <Td_colspan="2"> <Ul> <Li> 1930 </Li> <Li> 1934 </Li> <Li> 1938 </Li> <Li> 1950 </Li> </Ul> </Td> </Tr> <Tr> <Th_colspan="2"> British Empire and Commonwealth Games </Th> </Tr> <Tr> <Td_colspan="2"> <Ul> <Li> 1954 </Li> <Li> 1958 </Li> <Li> 1962--1966 </Li> </Ul> </Td> </Tr> <Tr> <Th_colspan="2"> British Commonwealth Games </Th> </Tr> <Tr> <Td_colspan="2"> <Ul> <Li> 1970--1974 </Li> </Ul> </Td> </Tr> <Tr> <Th_colspan="2"> Commonwealth Games </Th> </Tr> <Tr> <Td_colspan="2"> <Ul> <Li> 1978--1990 </Li> <Li> 1994 </Li> <Li> 1998 </Li> <Li> 2002 </Li> <Li> 2006 </Li> <Li> </Li> <Li> 2014 </Li> <Li> 2018 </Li> </Ul> </Td> </Tr> </Table> </Td> </Tr> </Table> <Tr> <Th_colspan="2"> South Africa at the Commonwealth Games </Th> </Tr>

How many medals has south africa won at the commonwealth games